package guowei.guliproduct.product.dao;

import guowei.guliproduct.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author guoguo
 * @email 1573746397@qq.com
 * @date 2023-05-21 17:38:07
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    void updateByBrandIdAndBrandName(@Param("brandId") Long brandId,@Param("name") String name);

    void updateByCatelogIdAndCatelogName(@Param("catId") Long catId,@Param("name") String name);
}
